import axiosInstance from "@/utils/request.ts";

/**
 * 登录接口基础地址
 */
enum Api {
    BASE_URL = '/book/admin',
    SELECT_BOOK_URL = `${BASE_URL}/selectBook`
}

/**
* 新建入库
* @param params 参数
*/
export function selectBook(params: any) {
    return axiosInstance({
        url: Api.SELECT_BOOK_URL,
        method: 'post',
        data: params
    })
}

